package com.example.receivesms;

public class Transaction {

	// private variables

	String _source;
	String _destination;
	String _money;
	String _time;

	//
	// Empty constructor
	public Transaction() {

	}

	// constructor
	public Transaction(int id, String src, String des, String money, String time) {
		this._id = id;
		this._source = src;
		this._destination = des;
		this._money = money;
		this._time = time;
	}

	// constructor
	public Transaction(String src, String des, String money, String time) {
		this._source = src;
		this._destination = des;
		this._money = money;
		this._time = time;
	}

	int _id;

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String get_source() {
		return _source;
	}

	public void set_source(String _source) {
		this._source = _source;
	}

	public String get_destination() {
		return _destination;
	}

	public void set_destination(String _destination) {
		this._destination = _destination;
	}

	public String get_money() {
		return _money;
	}

	public void set_money(String _money) {
		this._money = _money;
	}

	public String get_time() {
		return _time;
	}

	public void set_time(String _time) {
		this._time = _time;
	}
}
